home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / CDTools / MUIRexx / docs / CHANGES next >
Text File  |  1997-04-29  |  4KB  |  103 lines

  1. changes from MUIRexx 2.2 to 3.0
  2.  
  3. - General bug fixes (see history).
  4.  
  5. - Added 'callhook' command.
  6.  
  7.     callhook ID/K,COMMAND/K,PORT/K,PRESS/S,APP/S,DROP/S,INCLUDE/K,EXCLUDE/K,
  8.         ATTRS/K/M
  9.  
  10.     ID - an id of an existing object.
  11.  
  12.     COMMAND - command to be called when callback hook activated (see
  13.         docs).
  14.  
  15.     PORT - port to send command to (see docs).
  16.  
  17.     PRESS - if this flag is given then the specified command (given
  18.         in the COMMAND option) will will issued if the object is pressed
  19.         (same as the default action given with the object's COMMAND option).
  20.  
  21.     APP - if this flag is given then the specified command (given
  22.         in the COMMAND option) will will issued if an icon is dropped on the
  23.         object from the Workbench.
  24.  
  25.     DROP - if this flag is given then the specified command (given
  26.         in the COMMAND option) will will issued if another object is dropped
  27.         on the object through a drag and drop operation.  Using the INCLUDE
  28.         or EXCLUDE options drag and drop operations can be restricted to
  29.         specific objects.
  30.  
  31.     INCLUDE - Limits drag and drop operations to a list of objects.  The
  32.         list consists of object ids separated with commas.  The specified 
  33.         objects do not have to actually exist (i.e. the listed objects can
  34.         be created after the 'callhook' is defined).
  35.  
  36.     EXCLUDE - Limits drag and drop operations by excluding a list of objects.
  37.         The list consists of object ids separated with commas.  The specified
  38.         objects do not have to actually exist (i.e. the listed objects can
  39.         be created after the 'callhook' is defined).
  40.  
  41.     ATTRS - A TAG pair consisting of a trigger attribute and value.  Used
  42.         to create arbitrary callback hook triggers.  Do not use if PRESS,
  43.         APP or DROP options are specified.
  44.  
  45.   Some examples,
  46.  
  47.     callhook ID DIR1 COMMAND """string ID STR1 CONTENT %s""" PORT DIRUTIL,
  48.         ATTRS MUIA_List_Active MUIV_EveryTime
  49.  
  50.   which sets a callback hook that will be called everytime the DIR1 'dirlist'
  51.   object becomes active (i.e. whenever a line is selected).  In this case,
  52.   it will result in selected lines being displayed in the STR1 'string'
  53.   object.
  54.  
  55.     callhook ID VLST DROP COMMAND """build:attrs VADD %s""" INCLUDE 'BLST'
  56.  
  57.   which will make the VLST object dropable with the command called everytime
  58.   an object is dropped on VLST.  However, only lines from the BLST object will
  59.   be accepted (specified using the INCLUDE option).
  60.  
  61. - Removed PRESS,APP,DROP options from all other commands (use 'callhook' instead).
  62.  
  63. - Removed COMMAND option from group command (use 'callhook' instead).
  64.  
  65. - Removed TRIG VAL options from object command (use 'callhook' instead).
  66.  
  67. - 'switch' objects can now have primary and alternate labels.  For example,
  68.  
  69.     switch LABELS "one,two"
  70.  
  71.   which will result in a 'switch' that displays "one" when unselected and "two"
  72.   when selected.
  73.  
  74. - Added REMOVE option to 'list' object to allow removal of specific lines
  75.   based on position or content.
  76.  
  77. - Empty groups (and windows) no longer cause crashes.  Why you would want
  78.   to create empty groups or windows is questionable but at least it will no
  79.   longer crash the machine.
  80.  
  81. - Groups can now be added dynamically to other groups.
  82.  
  83. - Added new 'group' POP option for creation of popup groups.  Also added
  84. ICON and SPEC options to allow specification of popup button image.  For
  85. example,
  86.  
  87.     group POP ICON "muirexx:demos/icons/apple" ATTRS MUIA_Group_Spacing 0
  88.         .
  89.         .
  90.         .
  91.     endgroup
  92.  
  93. - Added 'monitor' command to open/close console for display of received
  94. command lines and error information.
  95.  
  96. - Added capability to specify inline commands (i.e. ARexx string macros)
  97. for objects.
  98.  
  99. - Added SPEC option to button, text and switch objects.
  100.  
  101. - check and image object options changed (they are now specific instances
  102. of the text object).
  103.